<?

$name = 'Window';

$thead = array('Window','Time (Minutes)');
$tsize = array('70%', '30%');
$talign = array('left', 'center');
$twidth = '500';

$rlabel = 0;
$rdata = 1;

$sql = 'SELECT w.title, SUM(seconds) / 60 as stotal FROM wp_track wp, windows w WHERE w.id = wp.idw GROUP BY w.id ORDER BY stotal DESC LIMIT 10';


?>